#include "SocketHandler.h"
#include "utils.h"


SocketHandler::SocketHandler() {
	LOGI("  ");
}
SocketHandler::~SocketHandler() {
	LOGI("  ");
}
void SocketHandler::onConnect(int socketfd) {
	LOGI("  ");
}
void SocketHandler::ondisConnect(int socketfd) {
	LOGI("  ");
}
int SocketHandler::doDecode(SocketChannel* socketChanel, char *buf, int size) {
	return 0;
}

int SocketHandler::doEncode(int socketfd, char *buf, int size,int cmd,char* outBuf,int outBufSize) {
	LOGI("  ");
	return 0;
}
int SocketHandler::send(char* buf, int size) {
	LOGI("  ");
	return 0;
}
void SocketHandler::onErr(int socketfd, int errcode) {
	LOGE(" socket%d  ,err: %d",socketfd,errcode);
}
